HQRentalsPlugin\HQRentalsSettings\HQRentalsSettings C

Total Complexity 113
Dependencies 5
Dependents 22
Total lines 633
Lines of code 353
Logical lines of code 143
Comment lines 117
Methods 89
Properties 30

Methods 89

Method Rating Maintainability Complexity Lines of code
updateSettings()
A
46 12 38
resolveSettingsOnAuth()
S
56 6 18
thereAreSomeSettingMissing()
S
70 4 6
getApiUserToken()
S
67 2 8
getApiTenantToken()
S
67 2 8
saveApiUserToken()
S
68 2 7
saveApiTenantToken()
S
68 2 7
forceSyncOnHQData()
S
65 2 9
__construct()
S
80 1 3
getApiUserTokenForWorkspotLocation()
S
80 1 3
getApiTenantTokenForWorkspotLocation()
S
80 1 3
getApiEncodedToken()
S
80 1 3
getEncodedApiKeyForWorkspotLocation()
S
80 1 3
getHQDatetimeFormat()
S
80 1 3
getFrontEndDatetimeFormat()
S
80 1 3
getSupportForHomeIntegration()
S
79 1 3
getDisableCronjobOption()
S
79 1 3
getTenantDatetimeFormat()
S
79 1 3
getDisableSafari()
S
79 1 3
getDisableSafariValue()
S
80 1 3
getApiBaseUrl()
S
79 1 3
saveApiBaseUrl()
S
79 1 3
saveApiUserTokenForWorkspotModule()
S
78 1 3
saveApiTenantTokenForWorkspot()
S
78 1 3
saveHQDatetimeFormat()
S
79 1 3
saveFrontEndDateTimeFormat()
S
79 1 3
saveEncodedApiKey()
S
77 1 3
saveEncodedApiKeyForWorkspotLocation()
S
77 1 3
saveNewAuthScheme()
S
79 1 3
saveHomeIntegration()
S
79 1 3
saveDisableCronjobOption()
S
79 1 3
saveTenantDatetimeOption()
S
79 1 3
saveTenantLink()
S
79 1 3
getTenantLink()
S
79 1 3
saveDisableSafariOption()
S
79 1 3
noLocationCoordinateSetting()
S
80 1 3
saveLocationCoordinateSetting()
S
79 1 3
getLocationCoordinateField()
S
79 1 3
noLocationImageSetting()
S
80 1 3
saveLocationImageSetting()
S
79 1 3
getLocationImageField()
S
79 1 3
noLocationDescriptionSetting()
S
80 1 3
saveLocationDescriptionSetting()
S
79 1 3
getLocationDescriptionField()
S
79 1 3
noAddressLabelSetting()
S
80 1 3
saveAddressLabelSetting()
S
79 1 3
getAddressLabelField()
S
79 1 3
noOfficeHoursSetting()
S
80 1 3
saveOfficeHoursSetting()
S
79 1 3
getOfficeHoursSetting()
S
79 1 3
noBrandsSetting()
S
80 1 3
saveBrandsSetting()
S
79 1 3
getBrandsSetting()
S
79 1 3
noPhoneSetting()
S
80 1 3
savePhoneSetting()
S
79 1 3
getPhoneSetting()
S
79 1 3
noAddressSetting()
S
80 1 3
saveAddressSetting()
S
79 1 3
getAddressSetting()
S
79 1 3
noDecreasingRateOrder()
S
80 1 3
saveDecreasingRateOrder()
S
79 1 3
getDecreasingRateOrder()
S
79 1 3
isDecreasingRateOrderActive()
S
80 1 3
noReplaceBaseURLOnBrandsSetting()
S
80 1 3
saveReplaceBaseURLOnBrandsSetting()
S
79 1 3
getReplaceBaseURLOnBrandsSetting()
S
79 1 3
noBrandURLToReplaceSetting()
S
80 1 3
saveBrandURLToReplaceSetting()
S
79 1 3
getBrandURLToReplaceSetting()
S
79 1 3
noDefaultLatitudeSetting()
S
80 1 3
getDefaultLatitudeSetting()
S
79 1 3
setDefaultLatitudeSetting()
S
79 1 3
noDefaultLongitudeSetting()
S
80 1 3
getDefaultLongitudeSetting()
S
79 1 3
setDefaultLongitudeSetting()
S
79 1 3
getSettings()
S
64 1 10
noNewAuthSchemeOption()
S
80 1 3
noDisableSafariFunctionality()
S
80 1 3
newAuthSchemeEnabled()
S
79 1 3
noTenantDatetimeFormat()
S
80 1 3
noHomeIntegrationOption()
S
80 1 3
noDisabledCronjobOption()
S
80 1 3
homeIntegration()
S
79 1 3
isApiOkay()
S
73 1 5
updateEmail()
S
80 1 3
getEmail()
S
79 1 3
noCurrencyIconOption()
S
80 1 3
setCurrencyIconOption()
S
79 1 3
getCurrencyIconOption()
S
79 1 3